package com.itboye.ihomebank.activity.integral_mall;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.itboye.ihomebank.R;
import com.itboye.ihomebank.base.BaseOtherActivity;

/**
 * Created by Administrator on 2018/8/24 0024.
 */

public class ActivityMyIntgral extends BaseOtherActivity {

    View v_statusbar;
    ImageView close_icon;
    TextView add_shap_title_tv,save;


    @Override
    protected int layout_id() {
        return R.layout.activity_myintgral;
    }

    @Override
    protected void onInitController() {

    }

    @Override
    protected void onInit() {

        setStatusBarHeight(v_statusbar);
        add_shap_title_tv.setText("我的卡券");
        save.setVisibility(View.VISIBLE);
        save.setText("积分明细");

    }

    @Override
    protected void onReadIntent(Bundle bundle) {

    }


    @Override
    public void onClick(View v) {
        super.onClick(v);

        switch (v.getId()){

            case R.id.close_icon://返回
                this.finish();
                break;

            case R.id.save: //积分明细
                startActivity(new Intent(this,ActivityIntgralInfo.class));
                break;

        }
    }
}
